SsStudHousingInfo 
Logical Entity Name  SsStudHousingInfo 
Default Table Name  SsStudHousingInfo 
Physical Only  NO 
Definition 
 
Note 
 

SsStudHousingInfo Columns 
ColumnName  Domain  Datatype  NULL  Definition 
AdEnrollID(PK)(FK)    int  NO 
 
ReqHousing    bit  NO 
 
SsRoomMateGenderPref    char(1)  NO 
 
SmokingPref    char(1)  NO 
 
MonthlyFee    money  NO 
 
Comments    varchar(4000)  YES 
 
PlacedBySchool    bit  NO 
 
MoveInDate    datetime  YES 
 
MoveOutDate    datetime  YES 
 
SsRoomID(FK)    int  YES 
 
SsLocationID(FK)    int  YES 
 
RoomAptNo    varchar(20)  YES 
 
UserID(FK)    int  NO 
 
DateAdded    datetime  NO 
 
DateLstMod    datetime  NO 
 
Ts    timestamp  NO 
 
SsRoomTypeID(FK)    int  YES 
 

SsStudHousingInfo Primary and Unique Keys 
Key Name  Key Type  Keys 
SsStudHousingInfo_AdEnrollID_U_C_IDX  PrimaryKey  AdEnrollID 

SsStudHousingInfo Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
AdEnroll  Identifying  One To Zero or More  FK_SsStudHousingInfo_AdEnrollID_AdEnroll_AdEnrollID      AdEnrollID  NO  YES 
SsLocation  Non-Identifying  Zero or One to Zero or More  FK_SsStudHousingInfo_SsLocationID_SsLocation_SsLocationID      SsLocationID  NO  YES 
SsRoom  Non-Identifying  Zero or One to Zero or More  FK_SsStudHousingInfo_SsRoomID_SsRoom_SsRoomID      SsRoomID  NO  YES 
SsRoomType  Non-Identifying  Zero or One to Zero or More  FK_SsStudHousingInfo_SsRoomTypeID_SsRoomType_SsRoomTypeID      SsRoomTypeID  NO  YES 
SyStaff  Non-Identifying  One To Zero or More  FK_SsStudHousingInfo_UserID_SyStaff_SyStaffID      UserID  NO  YES 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 

SsStudHousingInfo Check Constraints 
Check Constraint Name  CheckConstraint 
Chk_SsStudHousingInfo_MoveOutDate  ([MoveOutDate] >= [MoveInDate])